@REM @rem First use Spring to package it into a jar and then use jpackage to package it into an exe.
set JDKHOME=D:\JDK\jdk-17
%JDKHOME%\bin\jpackage.exe --name rowing-event-system --input target\dist --main-jar rowing-event-system.jar --type exe --dest target --icon src/main/resources/icons/app-icon.ico --win-dir-chooser --win-shortcut